/*
* $Id: JournalView.h 28 2010-02-09 20:33:18Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _JOURNAL_VIEW_H_
#define _JOURNAL_VIEW_H_

#include "JournalInterface.h"

class CJournalView : public IJournalView
{
protected:
	IStyle* m_pStyle;
	HWND m_hWnd;
public:
	CJournalView(IStyle* pStyle);
	virtual ~CJournalView();
public:
	virtual IStyle* GetStyleView();
	virtual long OnWndMsg(unsigned int message, unsigned int wParam, long lParam);
	virtual long Send(unsigned int nMessage, unsigned int wParam, long lParam);
	virtual bool Post(unsigned int nMessage, unsigned int wParam, long lParam);
	virtual void Redraw();
	virtual bool IsCreate();
	virtual int GetWinId();
	virtual void Resize(int x, int y, int cx, int cy);
	virtual void Focus();
	virtual void Free();
};

#endif/*_JOURNAL_VIEW_H_*/